<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Server Test Suite</title>
<style>
table {
	border-collapse: collapse;
	border: 1px solid black;
}

th {
	text-align: right;
}

th,td {
	padding: 5px;
}

.caption {
	text-align: left;
	background-color: #ccc;
}

.footer {
	text-align: right;
	border: 1px solid black;
}

iframe.testCase {
	height: 2.5em;
	width: 500px;
	border: 0;
	background-color: red;
}
</style>
</head>
<body>
<table>
	<tr>
		<th class="caption" colspan="2">Test Case</th>
	</tr>
	<tr>
		<th>EL test:</th>
		<td><iframe class="testCase" scrolling="no" src="test/elTest.jsp"></iframe></td>
	</tr>
	<tr>
		<th>JSTL test:</th>
		<td><iframe class="testCase" scrolling="no"
			src="test/jstlTest.jsp"></iframe></td>
	</tr>
	<tr>
		<th>Forword test:</th>
		<td><iframe class="testCase" scrolling="no"
			src="test/forwordTest.jsp"></iframe></td>
	</tr>
	<tr>
		<th>JSP dynDeploy test:</th>
		<td><iframe class="testCase" scrolling="no"
			src="test/jspDynDeployTest.jsp"></iframe></td>
	</tr>
	<tr>
		<th>TLD dynDeploy test:</th>
		<td><iframe class="testCase" scrolling="no"
			src="test/tldDynDeployTest.jsp"></iframe></td>
	</tr>
	<tr>
		<th>Jar dynDeploy test:</th>
		<td><iframe class="testCase" scrolling="no"
			src="test/jarDynDeployTest.jsp"></iframe></td>
	</tr>
	<tr>
		<th class="caption" colspan="2">Server</th>
	</tr>
	<tr>
		<th>Server Info:</th>
		<td><%=application.getServerInfo()%></td>
	</tr>
	<tr>
		<th>Servlet API Version:</th>
		<td><%=application.getMajorVersion() + "."
					+ application.getMinorVersion()%></td>
	</tr>
	<tr>
		<th>JSP API Version:</th>
		<td><%=JspFactory.getDefaultFactory().getEngineInfo()
					.getSpecificationVersion()%></td>
	</tr>
	<tr>
		<th class="caption" colspan="2">Java</th>
	</tr>
	<tr>
		<th>Java Home:</th>
		<td><%=System.getProperty("java.home")%></td>
	</tr>
	<tr>
		<th>Java Version:</th>
		<td><%=System.getProperty("java.version") + " ("
					+ System.getProperty("java.vendor") + ")"%></td>
	</tr>
	<tr>
		<td class="footer" colspan="2">
		<button onclick="window.open('serverInfo.jsp')">详细信息&gt;&gt;</button>
		</td>
	</tr>
</table>
</body>
</html>